<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>flexbox</title>
    <link rel="stylesheet" href="flexbox.css">
</head>

<body>
    <div class="container">
        <div class="item">1</div>
        <div class="item">2</div>
        <div class="item">3</div>
        <!-- <div class="item">4</div>
        <div class="item">5</div>
        <div class="item">6</div>
        <div class="item">7</div>
        <div class="item">8</div>
        <div class="item">9</div>
        <div class="item">10</div>
        <div class="item">11</div> -->
    </div>




    <!-- <div class="box">
        <div class="item">content</div>
    </div> -->







    <!--div 独占一行 有宽高 高度默认时，会被内部元素撑开-->
    <!-- <div>这是一个div
        <div>div中的div</div>
    </div>
    <div>这是另一个div</div> -->
</body>

</html>